import { defineStore } from "pinia";
export  const useTag = defineStore('tag',{
    state(){
        return {
            tag:{}
        }
    },
    actions: {
             replace(value){
                this.tag = value
            },
            clear(){
                this.tag = {}
            },    
            
    },
    //   },
    getters:{
        getTag(){
            return this.tag
        }
    },
    persist:{
        storage:localStorage,
       
    }
}) 